<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="http://schemas.datacontract.org/2004/07/KPIS.GERP.SERVICE.Model" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/KPIS.GERP.SERVICE.Model" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://192.168.100.14/SERVICE/WorkflowService/AbsenceApprovalWF.xamlx?xsd=xsd3" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:import schemaLocation="http://192.168.100.14/SERVICE/WorkflowService/AbsenceApprovalWF.xamlx?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="approval_task">
    <xs:sequence>
      <xs:element minOccurs="0" name="Action" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ActionCount" type="xs:int" />
      <xs:element minOccurs="0" name="ActionDatas" nillable="true" type="tns:ArrayOfActionData" />
      <xs:element xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="ActionWord" nillable="true" type="q1:ArrayOfstring" />
      <xs:element minOccurs="0" name="ApprovalTaskSeq" type="xs:int" />
      <xs:element minOccurs="0" name="ApproveAs" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ApproverEmployees" nillable="true" type="tns:ArrayOfhrm_ps_employees" />
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="CreatorEmp" nillable="true" type="tns:hrm_ps_employees" />
      <xs:element minOccurs="0" name="CurrentRuleApprove" nillable="true" type="tns:rule_approve" />
      <xs:element minOccurs="0" name="CurrentStep" type="xs:int" />
      <xs:element minOccurs="0" name="GetRuleApproveType1AfterCurrent" nillable="true" type="tns:ArrayOfrule_approve" />
      <xs:element minOccurs="0" name="HistoriesCollection" nillable="true" type="tns:ArrayOfTaskHistory" />
      <xs:element minOccurs="0" name="InitialAction" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NextRuleApprove" nillable="true" type="tns:rule_approve" />
      <xs:element minOccurs="0" name="Ready" type="xs:boolean" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RefSeq" type="xs:int" />
      <xs:element minOccurs="0" name="RefTypeSeq" type="xs:int" />
      <xs:element minOccurs="0" name="Reference" nillable="true" type="tns:approval_reference" />
      <xs:element minOccurs="0" name="RequestEmp" nillable="true" type="tns:hrm_ps_employees" />
      <xs:element minOccurs="0" name="RequestEmpSeq" type="xs:int" />
      <xs:element minOccurs="0" name="RuleApproves" nillable="true" type="tns:ArrayOfrule_approve" />
      <xs:element minOccurs="0" name="StartWhen" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Status" type="tns:TaskStatus" />
      <xs:element minOccurs="0" name="StopWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="WfInstantId" type="ser:guid" />
      <xs:element minOccurs="0" name="_actionHistories" nillable="true" type="tns:ArrayOfaction_history" />
      <xs:element minOccurs="0" name="custom_buttons" nillable="true" type="tns:ArrayOfrule_approve_custom_button" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="approval_task" nillable="true" type="tns:approval_task" />
  <xs:complexType name="ArrayOfActionData">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ActionData" nillable="true" type="tns:ActionData" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfActionData" nillable="true" type="tns:ArrayOfActionData" />
  <xs:complexType name="ActionData">
    <xs:sequence>
      <xs:element minOccurs="0" name="By" nillable="true" type="tns:hrm_ps_employees" />
      <xs:element minOccurs="0" name="On" type="xs:dateTime" />
      <xs:element minOccurs="0" name="OnStep" type="xs:int" />
      <xs:element minOccurs="0" name="Reasons" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RuleApprove" nillable="true" type="tns:rule_approve" />
      <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ActionData" nillable="true" type="tns:ActionData" />
  <xs:complexType name="hrm_ps_employees">
    <xs:sequence>
      <xs:element minOccurs="0" name="birth_date" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="blood_group_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="citizen" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="class_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="cmd_ref_no" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="code_scan" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="date_admitted" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="date_latest_class" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="date_latest_pos" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="date_latest_working_job_site" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="date_quit" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="date_work_start" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="death_date" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="emp_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="emp_sec_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="emp_seq" type="xs:int" />
      <xs:element minOccurs="0" name="emp_status_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="emp_type_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="exec_pos_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="first_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="first_name_eng" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="fund_member" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="gender_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="hrm_mp_classes" nillable="true" type="tns:hrm_mp_classes" />
      <xs:element minOccurs="0" name="hrm_mp_classes_old" nillable="true" type="tns:hrm_mp_classes" />
      <xs:element minOccurs="0" name="hrm_mp_exec_positions" nillable="true" type="tns:hrm_mp_exec_positions" />
      <xs:element minOccurs="0" name="hrm_mp_job_sites" nillable="true" type="tns:hrm_mp_job_sites" />
      <xs:element minOccurs="0" name="hrm_mp_positions" nillable="true" type="tns:hrm_mp_positions" />
      <xs:element minOccurs="0" name="hrm_ps_employee_statuses" nillable="true" type="tns:hrm_ps_employee_statuses" />
      <xs:element minOccurs="0" name="hrm_ps_employee_types" nillable="true" type="tns:hrm_ps_employee_types" />
      <xs:element minOccurs="0" name="image_unique" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="last_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="last_name_eng" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="mar_stat_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="mas_blood_groups" nillable="true" type="tns:mas_blood_groups" />
      <xs:element minOccurs="0" name="mas_genders" nillable="true" type="tns:mas_genders" />
      <xs:element minOccurs="0" name="mas_marital_statuses" nillable="true" type="tns:mas_marital_statuses" />
      <xs:element minOccurs="0" name="mas_name_prefixes" nillable="true" type="tns:mas_name_prefixes" />
      <xs:element minOccurs="0" name="mas_nationalities" nillable="true" type="tns:mas_nationalities" />
      <xs:element minOccurs="0" name="mas_nationalities_race" nillable="true" type="tns:mas_nationalities" />
      <xs:element minOccurs="0" name="mas_religions" nillable="true" type="tns:mas_religions" />
      <xs:element minOccurs="0" name="move_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="name_prefix_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="nat_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="nick_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="official" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="old_class_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="pos_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="probation_date_end" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="race_nat_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="religion_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="remarks" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="salary" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="salary_level_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="social" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="tax_payer" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="working_job_site_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="working_job_site_text" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="hrm_ps_employees" nillable="true" type="tns:hrm_ps_employees" />
  <xs:complexType name="hrm_mp_classes">
    <xs:sequence>
      <xs:element minOccurs="0" name="class_eng" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="class_eng_short" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="class_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="class_name_short" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="class_no" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="class_seq" type="xs:int" />
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="emp_type_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="hrm_mp_position_types" nillable="true" type="tns:hrm_mp_position_types" />
      <xs:element minOccurs="0" name="hrm_ps_employee_types" nillable="true" type="tns:hrm_ps_employee_types" />
      <xs:element minOccurs="0" name="pos_type_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="remarks" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="hrm_mp_classes" nillable="true" type="tns:hrm_mp_classes" />
  <xs:complexType name="hrm_mp_position_types">
    <xs:sequence>
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="emp_type_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="hrm_ps_employee_types" nillable="true" type="tns:hrm_ps_employee_types" />
      <xs:element minOccurs="0" name="pos_type_eng" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="pos_type_eng_short" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="pos_type_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="pos_type_name_short" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="pos_type_seq" type="xs:int" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="remarks" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="hrm_mp_position_types" nillable="true" type="tns:hrm_mp_position_types" />
  <xs:complexType name="hrm_ps_employee_types">
    <xs:sequence>
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="emp_type_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="emp_type_seq" type="xs:int" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="remarks" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="retirements" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="royalitems" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="salary_up_time" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="year_type_seq" nillable="true" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="hrm_ps_employee_types" nillable="true" type="tns:hrm_ps_employee_types" />
  <xs:complexType name="hrm_mp_exec_positions">
    <xs:sequence>
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="exec_pos_code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="exec_pos_group_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="exec_pos_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="exec_pos_name_eng" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="exec_pos_name_eng_short" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="exec_pos_name_short" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="exec_pos_seq" type="xs:int" />
      <xs:element minOccurs="0" name="job_family_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="remarks" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="hrm_mp_exec_positions" nillable="true" type="tns:hrm_mp_exec_positions" />
  <xs:complexType name="hrm_mp_job_sites">
    <xs:sequence>
      <xs:element minOccurs="0" name="address" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="address2" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="city_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="country_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="currency_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="date_end" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="date_start" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="district_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="fax" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="head_pos_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="hrm_mp_job_site_types" nillable="true" type="tns:hrm_mp_job_site_types" />
      <xs:element minOccurs="0" name="hrm_mp_job_sites_upper" nillable="true" type="tns:hrm_mp_job_sites" />
      <xs:element minOccurs="0" name="job_description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="job_site_full_path" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="job_site_gfmis" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="job_site_level_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="job_site_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="job_site_name_eng" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="job_site_name_eng_short" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="job_site_name_short" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="job_site_ref" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="job_site_ref_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="job_site_seq" type="xs:int" />
      <xs:element minOccurs="0" name="job_site_stat_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="job_site_type_seq" type="xs:int" />
      <xs:element minOccurs="0" name="job_site_upper_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="postal_code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="prov_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="remarks" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="tel" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="webaddress" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="work_area_seq" nillable="true" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="hrm_mp_job_sites" nillable="true" type="tns:hrm_mp_job_sites" />
  <xs:complexType name="hrm_mp_job_site_types">
    <xs:sequence>
      <xs:element minOccurs="0" name="col_hrm_mp_job_sites" nillable="true" type="tns:ArrayOfhrm_mp_job_sites" />
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="curr_job_site_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="current_hrm_mp_job_sites" nillable="true" type="tns:hrm_mp_job_sites" />
      <xs:element minOccurs="0" name="job_site_type_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="job_site_type_seq" type="xs:int" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="remarks" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="hrm_mp_job_site_types" nillable="true" type="tns:hrm_mp_job_site_types" />
  <xs:complexType name="ArrayOfhrm_mp_job_sites">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="hrm_mp_job_sites" nillable="true" type="tns:hrm_mp_job_sites" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfhrm_mp_job_sites" nillable="true" type="tns:ArrayOfhrm_mp_job_sites" />
  <xs:complexType name="hrm_mp_positions">
    <xs:sequence>
      <xs:element minOccurs="0" name="change_ref_no" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="class_spec_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="currency_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="date_changed" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="date_defined" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="date_money_support" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="emp_type_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="exec_pos_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="field_pos_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="fim_mas_currencies" nillable="true" type="tns:fim_mas_currencies" />
      <xs:element minOccurs="0" name="hrm_mp_class_specifications" nillable="true" type="tns:hrm_mp_class_specifications" />
      <xs:element minOccurs="0" name="hrm_mp_exec_positions" nillable="true" type="tns:hrm_mp_exec_positions" />
      <xs:element minOccurs="0" name="hrm_mp_field_positions" nillable="true" type="tns:hrm_mp_field_positions" />
      <xs:element minOccurs="0" name="hrm_mp_job_sites" nillable="true" type="tns:hrm_mp_job_sites" />
      <xs:element minOccurs="0" name="hrm_mp_position_skill" nillable="true" type="tns:hrm_mp_position_skill" />
      <xs:element minOccurs="0" name="hrm_mp_positions_upper" nillable="true" type="tns:hrm_mp_positions" />
      <xs:element minOccurs="0" name="hrm_mp_positions_working_upper" nillable="true" type="tns:hrm_mp_positions" />
      <xs:element minOccurs="0" name="hrm_ps_employee_types" nillable="true" type="tns:hrm_ps_employee_types" />
      <xs:element minOccurs="0" name="job_description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="job_site_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="last_salary_quota" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="pos_exec_salary" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="pos_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="pos_ref" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="pos_seq" type="xs:int" />
      <xs:element minOccurs="0" name="pos_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="pos_upper_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="pos_working_upper_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="remarks" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="salary_glow" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="salary_max" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="salary_quota" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="skill_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="hrm_mp_positions" nillable="true" type="tns:hrm_mp_positions" />
  <xs:complexType name="fim_mas_currencies">
    <xs:sequence>
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="currency_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="currency_name_eng" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="currency_name_eng_short" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="currency_name_short" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="currency_seq" type="xs:int" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="remarks" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="fim_mas_currencies" nillable="true" type="tns:fim_mas_currencies" />
  <xs:complexType name="hrm_mp_class_specifications">
    <xs:sequence>
      <xs:element minOccurs="0" name="class_max" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="class_min" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="class_spec_eng" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="class_spec_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="class_spec_seq" type="xs:int" />
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="pos_type_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="remarks" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="hrm_mp_class_specifications" nillable="true" type="tns:hrm_mp_class_specifications" />
  <xs:complexType name="hrm_mp_field_positions">
    <xs:sequence>
      <xs:element minOccurs="0" name="class_spec_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="emp_type_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="field_group_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="field_pos_code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="field_pos_line" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="field_pos_line_eng" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="field_pos_line_short" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="field_pos_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="field_pos_name_eng" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="field_pos_seq" type="xs:int" />
      <xs:element minOccurs="0" name="field_pos_seq_new" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="hrm_mp_class_specifications" nillable="true" type="tns:hrm_mp_class_specifications" />
      <xs:element minOccurs="0" name="hrm_mp_field_groups" nillable="true" type="tns:hrm_mp_field_groups" />
      <xs:element minOccurs="0" name="hrm_mp_position_types" nillable="true" type="tns:hrm_mp_position_types" />
      <xs:element minOccurs="0" name="hrm_ps_employee_types" nillable="true" type="tns:hrm_ps_employee_types" />
      <xs:element minOccurs="0" name="pos_type_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="remarks" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="hrm_mp_field_positions" nillable="true" type="tns:hrm_mp_field_positions" />
  <xs:complexType name="hrm_mp_field_groups">
    <xs:sequence>
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="emp_type_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="field_group_descr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="field_group_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="field_group_seq" type="xs:int" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="hrm_mp_field_groups" nillable="true" type="tns:hrm_mp_field_groups" />
  <xs:complexType name="hrm_mp_position_skill">
    <xs:sequence>
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="remarks" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="skill_code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="skill_grp_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="skill_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="skill_seq" type="xs:int" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="hrm_mp_position_skill" nillable="true" type="tns:hrm_mp_position_skill" />
  <xs:complexType name="hrm_ps_employee_statuses">
    <xs:sequence>
      <xs:element minOccurs="0" name="active" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="emp_status_code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="emp_status_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="emp_status_seq" type="xs:int" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="hrm_ps_employee_statuses" nillable="true" type="tns:hrm_ps_employee_statuses" />
  <xs:complexType name="mas_blood_groups">
    <xs:sequence>
      <xs:element minOccurs="0" name="blood_group_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="blood_group_name_eng" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="blood_group_seq" type="xs:int" />
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="remarks" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="mas_blood_groups" nillable="true" type="tns:mas_blood_groups" />
  <xs:complexType name="mas_genders">
    <xs:sequence>
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="gender_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="gender_name_eng" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="gender_seq" type="xs:int" />
      <xs:element minOccurs="0" name="gender_thai" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="mas_genders" nillable="true" type="tns:mas_genders" />
  <xs:complexType name="mas_marital_statuses">
    <xs:sequence>
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="mar_stat_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="mar_stat_seq" type="xs:int" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="mas_marital_statuses" nillable="true" type="tns:mas_marital_statuses" />
  <xs:complexType name="mas_name_prefixes">
    <xs:sequence>
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="gender_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="mas_genders" nillable="true" type="tns:mas_genders" />
      <xs:element minOccurs="0" name="name_prefix_seq" type="xs:int" />
      <xs:element minOccurs="0" name="prefix_code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="prefix_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="prefix_name_eng" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="prefix_short" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="prefix_short_eng" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="mas_name_prefixes" nillable="true" type="tns:mas_name_prefixes" />
  <xs:complexType name="mas_nationalities">
    <xs:sequence>
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="nat_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="nat_name_eng" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="nat_seq" type="xs:int" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="mas_nationalities" nillable="true" type="tns:mas_nationalities" />
  <xs:complexType name="mas_religions">
    <xs:sequence>
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="religion_code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="religion_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="religion_name_eng" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="religion_seq" type="xs:int" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="mas_religions" nillable="true" type="tns:mas_religions" />
  <xs:complexType name="rule_approve">
    <xs:sequence>
      <xs:element minOccurs="0" name="Approvers" nillable="true" type="tns:ArrayOfhrm_ps_employees" />
      <xs:element minOccurs="0" name="ApproversEmployeeString" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="action" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="action_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="action_by_pos_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="action_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="approver_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="approver_type" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="approver_type_name" nillable="true" type="xs:string" />
      <xs:element xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="approvers_seq" nillable="true" type="q2:ArrayOfint" />
      <xs:element minOccurs="0" name="approvers_seq_string" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="remarks" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="rule_approve_seq" type="xs:int" />
      <xs:element minOccurs="0" name="rule_approve_type" nillable="true" type="tns:rule_approve_type" />
      <xs:element minOccurs="0" name="rule_approve_type_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="step" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="rule_approve" nillable="true" type="tns:rule_approve" />
  <xs:complexType name="ArrayOfhrm_ps_employees">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="hrm_ps_employees" nillable="true" type="tns:hrm_ps_employees" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfhrm_ps_employees" nillable="true" type="tns:ArrayOfhrm_ps_employees" />
  <xs:complexType name="rule_approve_type">
    <xs:sequence>
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="remarks" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="rule_approve_group" nillable="true" type="tns:rule_approve_group" />
      <xs:element minOccurs="0" name="rule_approve_group_seq" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="rule_approve_type_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="rule_approve_type_seq" type="xs:int" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="rule_approve_type" nillable="true" type="tns:rule_approve_type" />
  <xs:complexType name="rule_approve_group">
    <xs:sequence>
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="remarks" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="rule_approve_group_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="rule_approve_group_seq" type="xs:int" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="rule_approve_group" nillable="true" type="tns:rule_approve_group" />
  <xs:complexType name="ArrayOfrule_approve">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="rule_approve" nillable="true" type="tns:rule_approve" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfrule_approve" nillable="true" type="tns:ArrayOfrule_approve" />
  <xs:complexType name="ArrayOfTaskHistory">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="TaskHistory" nillable="true" type="tns:TaskHistory" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfTaskHistory" nillable="true" type="tns:ArrayOfTaskHistory" />
  <xs:complexType name="TaskHistory">
    <xs:sequence>
      <xs:element minOccurs="0" name="IsHead" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsShowToUser" type="xs:boolean" />
      <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Remarks" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="When" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TaskHistory" nillable="true" type="tns:TaskHistory" />
  <xs:complexType name="approval_reference">
    <xs:sequence>
      <xs:element minOccurs="0" name="column_seq_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ref_action_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ref_controller_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ref_seq" type="xs:int" />
      <xs:element minOccurs="0" name="ref_to_table_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="rule_approve_group_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="rule_approve_group_seq" type="xs:int" />
      <xs:element minOccurs="0" name="rule_approve_type_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="rule_approve_type_seq" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="approval_reference" nillable="true" type="tns:approval_reference" />
  <xs:simpleType name="TaskStatus">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Initializing" />
      <xs:enumeration value="PendingStatus" />
      <xs:enumeration value="WaitStatus" />
      <xs:enumeration value="CancelStatus" />
      <xs:enumeration value="Approved" />
      <xs:enumeration value="Rejected" />
      <xs:enumeration value="Finished" />
      <xs:enumeration value="Failed" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="TaskStatus" nillable="true" type="tns:TaskStatus" />
  <xs:complexType name="ArrayOfaction_history">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="action_history" nillable="true" type="tns:action_history" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfaction_history" nillable="true" type="tns:ArrayOfaction_history" />
  <xs:complexType name="action_history">
    <xs:sequence>
      <xs:element minOccurs="0" name="Actioner" nillable="true" type="tns:hrm_ps_employees" />
      <xs:element minOccurs="0" name="RuleApprove" nillable="true" type="tns:rule_approve" />
      <xs:element minOccurs="0" name="SendTo" nillable="true" type="tns:ArrayOfhrm_ps_employees" />
      <xs:element minOccurs="0" name="TaskStatusAfter" type="tns:TaskStatus" />
      <xs:element minOccurs="0" name="TaskStatusBefore" type="tns:TaskStatus" />
      <xs:element minOccurs="0" name="When" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="action_history" nillable="true" type="tns:action_history" />
  <xs:complexType name="ArrayOfrule_approve_custom_button">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="rule_approve_custom_button" nillable="true" type="tns:rule_approve_custom_button" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfrule_approve_custom_button" nillable="true" type="tns:ArrayOfrule_approve_custom_button" />
  <xs:complexType name="rule_approve_custom_button">
    <xs:sequence>
      <xs:element minOccurs="0" name="created_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="created_when" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="navigate_url" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="record_status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="remarks" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="rule_approve_custom_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="rule_approve_custom_seq" type="xs:int" />
      <xs:element minOccurs="0" name="rule_approve_group_seq" type="xs:int" />
      <xs:element minOccurs="0" name="updated_by" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="updated_when" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="rule_approve_custom_button" nillable="true" type="tns:rule_approve_custom_button" />
  <xs:simpleType name="TaskAction">
    <xs:restriction base="xs:string">
      <xs:enumeration value="F" />
      <xs:enumeration value="A" />
      <xs:enumeration value="J" />
      <xs:enumeration value="R" />
      <xs:enumeration value="N" />
      <xs:enumeration value="C" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="TaskAction" nillable="true" type="tns:TaskAction" />
</xs:schema>